import { axios } from '@/service/service'
import { ListReq } from './types'

export function getScheduleList(
  params: ListReq,
  page: number,
  pageSize: number
): any {
  return axios({
    url: `/schedule/getScheduleList/${page}/${pageSize}/`,
    method: 'get',
    params: {
      ...params
    }
  })
}
